package hmis.pos.sys.entity;


import hmis.pos.Base.BaseEntity.BaseEntity;

import javax.persistence.Entity;
import javax.persistence.Table;


@Entity
@Table(name = "sys_role")
public class SysRoleEntity extends BaseEntity {

    /**
     * 用户角色描述
     */
    private String roleDesc;

//    @JsonIgnore
//    @ManyToMany(mappedBy = "sysRoleList",fetch = FetchType.EAGER)
//    @Fetch(FetchMode.SUBSELECT)
//    private List<SysUserEntity> sysUserList;

//    @JsonIgnore
//    @ManyToMany(mappedBy = "sysRoleList",fetch = FetchType.EAGER)
//    private List<SysPermissionEntity> sysPermissionList;

    public String getRoleDesc() {
        return roleDesc;
    }

    public void setRoleDesc(String roleDesc) {
        this.roleDesc = roleDesc;
    }

}
